export interface ResponseHomeIconList {
    data: DataBean;
    serverIp: string;
    requestIp: string;
    clientIp: string;
}

export interface DataBean {
    list: ListBean[];
}

export interface ListBean {
    id?: string;
    IconNo: string;
    ChsName: string;
    ChtName: string;
    EName?: string;  // 可选字段
    RedirectLink: string;
    MenuIcon: string;
    MenuIconNew: string;  // 可选字段
    RecommendIcon?: string;  // 可选字段
    Sorting: number;
    Mode: string;
    org: string;
    VersionX?: string;  // 对应@SerializedName("Version")
    ResourceType: string;
    IsTop: number;
    groupName?: string;
    isDefault: boolean;
    BrowserWay: string;
    MenuIconNewD?: number;  // 可选字段
}

// 示例数据初始化
const exampleListBean: ListBean = {
    IconNo: "HII201708240000001",
    ChsName: "自选股",
    ChtName: "自選股",
    RedirectLink: "",
    MenuIcon: "http://example.com/icon.png",
    MenuIconNew: "http://example.com/icon.png",
    Sorting: 1,
    Mode: "Android|IOS",
    org: "JYB",
    ResourceType: "option",
    IsTop: 1,
    groupName: "App图标分类",
    isDefault: false,
    BrowserWay: "0"
};
